package com.bbs.common.vo;

import com.bbs.common.consts.CommonConstant;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * ForumCollectVo
 *
 * @author yangjiajia
 * @since 2024/5/13 10:48
 */
@Data
public class ForumCollectListVo {

    private Integer id;

    private Integer forumId;

    /**
     * 标题
     */
    private String title;

    /**
     * 封面图
     */
    private String coverImage;

    /**
     * 用户id
     */
    private Integer userId;
    private String userName;

    /**
     * 浏览数
     */
    private Integer views;

    /**
     * 收藏数
     */
    private Integer collects;

    @JsonFormat(pattern = CommonConstant.DATE_TIME_FORMAT)
    private LocalDateTime createTime;
}
